package com.starfactory.gateway.controller;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查
 *
 **/
@RestController
@RefreshScope
@RequestMapping()
public class HealthController {

    @GetMapping("/health")
    public String check() {
        return "success";
    }
}
